import React, { useEffect } from 'react'
import RouterComponent from './router'
import { NavLink } from "react-router-dom"
import "./app.css"
export default function App() {
  return (
    <div>
      <ul>
        <li>      <NavLink activeClassName='on' to="/one">one</NavLink>
        </li>
        <li>      <NavLink activeClassName='on' to="/tow">tow</NavLink>
        </li>
        <li>      <NavLink activeClassName='on' to="/three">three</NavLink>
        </li>
      </ul>
      <RouterComponent></RouterComponent>
    </div>
  )
}
